﻿using System;

namespace RestUpMVC.Resource
{
    internal class ResourceMetaData
    {
        public string Name { get; set; }

        public string IdentityPropertyName { get; set; }

        public Type ControllerType { get; set; }

        public bool AllowList { get; set; }

        public bool AllowGet { get; set; }

        public bool AllowPut { get; set; }

        public bool AllowPost { get; set; }

        public bool AllowDelete { get; set; }

        public Type ParentResource { get; set; }
    }
}